package org.liuyunfeng.feign;

import org.liuyunfeng.domain.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-29 16:14
 **/
@FeignClient(name = "user-service")
public interface UserFeignClient {

    @GetMapping("/user")
    List<UserDto> list();
}
